#pragma once
#include<map>
#include<string>
#include"cpr/cpr.h"
#include"json/json.h"

using std::string;
using std::map;
using cpr::Url;
using cpr::Header;
using cpr::Response;
using Json::Value;

class Request {

public:
	Url url;
	map<string,string, cpr::CaseInsensitiveCompare> header;
	Value body;

	Request(string, map<std::string, std::string, cpr::CaseInsensitiveCompare>);
	Request();

	Response get();

	Response post();

	Response put();

	Response deleted();

};